package com.mrjy.maintain.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mrjy.common.dto.ProgramPromoteInfoDTO;
import com.mrjy.common.entity.ProgramPromoteInfo;

public interface IProgramPromoteInfoDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ProgramPromoteInfo record);

    int insertSelective(ProgramPromoteInfo record);

    ProgramPromoteInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProgramPromoteInfo record);

    int updateByPrimaryKey(ProgramPromoteInfo record);
    
    List<ProgramPromoteInfoDTO> queryPageByProgramId(@Param("programId")Integer programId
    		,@Param("programType")String programType, @Param("paymentTypeId")Integer paymentTypeId);

	ProgramPromoteInfo queryExist(ProgramPromoteInfo info);
}